﻿<%@ Page Language="C#"
    AutoEventWireup="true"
    CodeBehind="List.aspx.cs" 
    MasterPageFile="~/Medianamik/MasterPages/MedianamikModule.master"
    Inherits="Medianamik.UI.Web.Shop.ShopProductTypeList" %>
    
<%@ Import Namespace="Medianamik.Core" %>
<%@ Register TagName="ProductTypeGrid" Src="~/medianamik/shop/producttype/ProductTypeGrid.ascx" TagPrefix="shop" %>
    
<asp:Content ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:HyperLink ID="lnkAddNode" runat="server"
        Target="_self"
        CssClass="Action BtAjouter"
        Text="<%$ Resources: Medianamik_Shop, AddNewProductType %>" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="CenterContent" runat="server">
    <%= BreadcrumbTrail %>
    <shop:ProductTypeGrid runat="server" ID="ProductTypeGrid" AllowPaging="true" />
    <br class="clearer" />        
</asp:Content>

<asp:Content ID="ExternalContent" ContentPlaceHolderID="ExternalContentHolder" runat="server">
    <telerik:RadScriptBlock runat="server" ID="ScriptBlock">
        <script type="text/javascript">
            //<![CDATA[
            
            <%= Medianamik.UI.Utility.GetTypeSelectedScript(EditPageUrl,
                false,
                DefaultParamNames.ParentNodeID,
                DefaultParamNames.TypeID,
                Grid.EditReturnUrl) %>

            //]]>
        </script>
    </telerik:RadScriptBlock>
</asp:Content>
